﻿using System.Data;
using WFC.BL.Interfaces.DomainModels;
using WFC.BL.Interfaces.Enumerations;

namespace WFC.DAL.Interfaces.PersistentStorage
{
    public interface IDataService
    {
        DataSet InsertContents(CmsPageMode cmsPageMode, string contentData, int createdBy);
        DataSet ReadContentsById(int contentId);
        DataSet UpdateContents(IContentMaintainable content);
        DataSet DeleteContents(int contentId);

        DataSet InsertPosts(string title, string body, string shortDescription, string tags, int createdBy);
        DataSet ReadPostsById(int postId);
        DataSet UpdatePosts(IPostable post);
        DataSet DeletePosts(int postId);
    }
}
